<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Face Detection with Alignment: eHbbox.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Face Detection with Alignment
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">eHbbox.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="eHbbox_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef EHBBOX_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define EHBBOX_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="eHbox_8h.html">eHbox.h</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="eHbbox_8h.html#ad7a8d677cb353b071929ad40b6b4a77a">   21</a></span>&#160;<span class="preprocessor">#define EH_BBOXS_PRUNE 30000</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structeHbbox.html">   26</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structeHbbox.html">eHbbox</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structeHbbox.html#a2024e52994a0824e9392fd5f9743b947">   27</a></span>&#160;    std::vector&lt;fbox_t&gt; <a class="code" href="structeHbbox.html#a2024e52994a0824e9392fd5f9743b947">boxes</a>; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structeHbbox.html#a90d1b31a19d0facdeb4caaaba11af54d">   28</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="structeHbbox.html#a90d1b31a19d0facdeb4caaaba11af54d">score</a>; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structeHbbox.html#a7c6a5e808464ba2420a4b43461a5153e">   33</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structeHbbox.html#a7c6a5e808464ba2420a4b43461a5153e">component</a>; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structeHbbox.html#aecbaeae671315bf36d947c7fd22ed633">   34</a></span>&#160;    <a class="code" href="structeHbox__f.html">fbox_t</a> <a class="code" href="structeHbbox.html#aecbaeae671315bf36d947c7fd22ed633">outer</a>; </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structeHbbox.html#a8094fe8d4e59fb995b72f2fac8277cc7">   35</a></span>&#160;    <span class="keywordtype">double</span> <a class="code" href="structeHbbox.html#a8094fe8d4e59fb995b72f2fac8277cc7">area</a>; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;};</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="eHbbox_8h.html#abf0e2add76a0dd37cdac1cabc51c4812">   41</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structeHbbox.html">eHbbox</a> <a class="code" href="structeHbbox.html">bbox_t</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHbbox_8h.html#a6bb65f6ddd89207febb00d93301ffc0d">bbox_calcOut</a>(<a class="code" href="structeHbbox.html">bbox_t</a>*);</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHbbox_8h.html#aab9986b2e6b74a6d3eb894888fcc165e">bbox_clipboxes</a>(<a class="code" href="structeHbbox.html">bbox_t</a>&amp; bbox, <span class="keyword">const</span> <span class="keywordtype">int</span>* imsize);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHbbox_8h.html#ae15251cf96f9ccf45e3287010157377f">bbox_v_resize</a>(std::vector&lt;bbox_t&gt;&amp; bboxes, <span class="keywordtype">double</span> scale);</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHbbox_8h.html#a2147ef8bb9c913637975e31bc6ba103c">bbox_v_move</a>(std::vector&lt;bbox_t&gt;&amp; bboxes, <span class="keyword">const</span> <span class="keywordtype">int</span>* offset);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keywordtype">void</span> <a class="code" href="eHbbox_8h.html#af2c8d67fa2c5d15d379a95c2d25c906c">bbox_v_nms</a>(std::vector&lt;bbox_t&gt;&amp; bboxes, <span class="keywordtype">double</span> overlap, <span class="keywordtype">unsigned</span> prune = <a class="code" href="eHbbox_8h.html#ad7a8d677cb353b071929ad40b6b4a77a">EH_BBOXS_PRUNE</a>);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structeHbbox_html_a7c6a5e808464ba2420a4b43461a5153e"><div class="ttname"><a href="structeHbbox.html#a7c6a5e808464ba2420a4b43461a5153e">eHbbox::component</a></div><div class="ttdeci">int component</div><div class="ttdoc">component id for certain models </div><div class="ttdef"><b>Definition:</b> eHbbox.h:33</div></div>
<div class="ttc" id="structeHbbox_html"><div class="ttname"><a href="structeHbbox.html">eHbbox</a></div><div class="ttdoc">Multi-box &quot;bounding box&quot;, used for detection result. </div><div class="ttdef"><b>Definition:</b> eHbbox.h:26</div></div>
<div class="ttc" id="structeHbbox_html_a8094fe8d4e59fb995b72f2fac8277cc7"><div class="ttname"><a href="structeHbbox.html#a8094fe8d4e59fb995b72f2fac8277cc7">eHbbox::area</a></div><div class="ttdeci">double area</div><div class="ttdoc">area of outer </div><div class="ttdef"><b>Definition:</b> eHbbox.h:35</div></div>
<div class="ttc" id="eHbbox_8h_html_ae15251cf96f9ccf45e3287010157377f"><div class="ttname"><a href="eHbbox_8h.html#ae15251cf96f9ccf45e3287010157377f">bbox_v_resize</a></div><div class="ttdeci">void bbox_v_resize(std::vector&lt; bbox_t &gt; &amp;bboxes, double scale)</div><div class="ttdoc">Resize the input bboxs (in-place) </div></div>
<div class="ttc" id="eHbbox_8h_html_a2147ef8bb9c913637975e31bc6ba103c"><div class="ttname"><a href="eHbbox_8h.html#a2147ef8bb9c913637975e31bc6ba103c">bbox_v_move</a></div><div class="ttdeci">void bbox_v_move(std::vector&lt; bbox_t &gt; &amp;bboxes, const int *offset)</div><div class="ttdoc">Move the input bboxs (in-place) </div></div>
<div class="ttc" id="eHbox_8h_html"><div class="ttname"><a href="eHbox_8h.html">eHbox.h</a></div><div class="ttdoc">Box types and operations. </div></div>
<div class="ttc" id="eHbbox_8h_html_af2c8d67fa2c5d15d379a95c2d25c906c"><div class="ttname"><a href="eHbbox_8h.html#af2c8d67fa2c5d15d379a95c2d25c906c">bbox_v_nms</a></div><div class="ttdeci">void bbox_v_nms(std::vector&lt; bbox_t &gt; &amp;bboxes, double overlap, unsigned prune=EH_BBOXS_PRUNE)</div><div class="ttdoc">Non-maximum suppression. </div></div>
<div class="ttc" id="structeHbbox_html_aecbaeae671315bf36d947c7fd22ed633"><div class="ttname"><a href="structeHbbox.html#aecbaeae671315bf36d947c7fd22ed633">eHbbox::outer</a></div><div class="ttdeci">fbox_t outer</div><div class="ttdoc">outer &quot;real&quot; bounding box of the detection </div><div class="ttdef"><b>Definition:</b> eHbbox.h:34</div></div>
<div class="ttc" id="eHbbox_8h_html_ad7a8d677cb353b071929ad40b6b4a77a"><div class="ttname"><a href="eHbbox_8h.html#ad7a8d677cb353b071929ad40b6b4a77a">EH_BBOXS_PRUNE</a></div><div class="ttdeci">#define EH_BBOXS_PRUNE</div><div class="ttdoc">Default pruning parameter for bbox_v_nms() </div><div class="ttdef"><b>Definition:</b> eHbbox.h:21</div></div>
<div class="ttc" id="eHbbox_8h_html_a6bb65f6ddd89207febb00d93301ffc0d"><div class="ttname"><a href="eHbbox_8h.html#a6bb65f6ddd89207febb00d93301ffc0d">bbox_calcOut</a></div><div class="ttdeci">void bbox_calcOut(bbox_t *)</div><div class="ttdoc">Filling the fields of given bbox: outer, area. </div><div class="ttdef"><b>Definition:</b> eHbbox.cpp:25</div></div>
<div class="ttc" id="structeHbbox_html_a90d1b31a19d0facdeb4caaaba11af54d"><div class="ttname"><a href="structeHbbox.html#a90d1b31a19d0facdeb4caaaba11af54d">eHbbox::score</a></div><div class="ttdeci">double score</div><div class="ttdoc">detection score </div><div class="ttdef"><b>Definition:</b> eHbbox.h:28</div></div>
<div class="ttc" id="structeHbox__f_html"><div class="ttname"><a href="structeHbox__f.html">eHbox_f</a></div><div class="ttdoc">box with floating-point boundaries </div><div class="ttdef"><b>Definition:</b> eHbox.h:25</div></div>
<div class="ttc" id="eHbbox_8h_html_aab9986b2e6b74a6d3eb894888fcc165e"><div class="ttname"><a href="eHbbox_8h.html#aab9986b2e6b74a6d3eb894888fcc165e">bbox_clipboxes</a></div><div class="ttdeci">void bbox_clipboxes(bbox_t &amp;bbox, const int *imsize)</div><div class="ttdoc">Clip the boxes to image boundary. </div><div class="ttdef"><b>Definition:</b> eHbbox.cpp:39</div></div>
<div class="ttc" id="structeHbbox_html_a2024e52994a0824e9392fd5f9743b947"><div class="ttname"><a href="structeHbbox.html#a2024e52994a0824e9392fd5f9743b947">eHbbox::boxes</a></div><div class="ttdeci">std::vector&lt; fbox_t &gt; boxes</div><div class="ttdoc">part locations </div><div class="ttdef"><b>Definition:</b> eHbbox.h:27</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 26 2014 22:18:57 for Face Detection with Alignment by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
